package com.gao.genqualifier;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author GaoXi
 * @date 2022/2/24 20:58
 */
@Component
public class TestGenDemo {
    /**
     * 自动注入所有 实现了 Store<Integer>的bean
     * 感觉废话
     */
    @Autowired
    private Store<Integer> integerStore;

    @Autowired
    private Store<String> stringStore;

}
